home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Tool Chest / Development Kits / MPW etc. / MPW-GM / MPW / Examples / CExamples / TubeTest.make < prev    next >
Encoding:
Text File  |  1995-09-21  |  1.7 KB  |  53 lines  |  [TEXT/MPS ]

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Animation Sample Application
  5. #
  6. #    TubeTest
  7. #
  8. #    TubeTest.make    -    Make Source
  9. #
  10. #    Copyright © 1988, 1995 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    8/88
  14. #                1.01                4/91    Updated for MPW 3.2
  15. #
  16. #    Components:    TubeTest.p            August 1, 1988
  17. #                TubeTest.c            August 1, 1988
  18. #                TubeTest.r            August 1, 1988
  19. #                PTubeTest.make        August 1, 1988
  20. #                CTubeTest.make        August 1, 1988
  21. #
  22. #    The TubeTest program is a simple demonstration of how to use the Palette 
  23. #    Manager in a color program.  It has a special color palette that is associated
  24. #    with the main window.  The colors are animated using the Palette Manager 
  25. #    to give a flowing tube effect.  The program is very simple, and the Palette
  26. #    Manager and drawing parts are put in separate subroutines to make it easier
  27. #    to figure out what is happening.
  28. #    
  29. #    The program is still a complete Macintosh application with a Main Event Loop,
  30. #    so there is the extra code to run the MEL.  
  31. #    
  32. #    There is a resource file that is necessary as well, to define the Menus, Window,
  33. #    Dialog, and Palette resources used in the program.  
  34. #
  35. #    See Sample and TESample for the general structure and MultiFinder techniques that
  36. #    we recommend that you use when building a new application.
  37. #
  38. # MPW 3.0 and later: We override the default COptions to turn on strict prototyping;
  39. #    add '-r' to your UserStartup when you tire of the warning from Make.
  40.  
  41. COptions = -proto strict -w 17
  42.  
  43. CObjs            =    TubeTest.c.o ∂
  44.                     "{Libraries}"Interface.o ∂
  45.                     "{Libraries}"MacRuntime.o 
  46.  
  47. TubeTest        ƒƒ    {CObjs} TubeTest.make
  48.     Link -o {Targ} {CObjs}
  49.     SetFile {Targ} -t APPL -c '????'
  50.  
  51. TubeTest        ƒƒ    TubeTest.r TubeTest.make
  52.     Rez -rd -o {Targ} TubeTest.r -append
  53.